package com.itheima.多态.多态的三种表现形式.普通类多态;

/**
 * @Author 王加鑫
 * @Date 2021/5/9 10:01
 * @Version 1.0
 */
public class Dog extends Animal {

    public int agg = 20;

    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }
}
